package nr.co.mhgames.polyanim.renderer.modifiers;

/**
 * Scale modifier simply allows scaling the animation in X and Y axis,
 * separately.
 * 
 * @author Mika Halttunen
 */
public class ScaleModifier implements RenderModifier {
	/** Scales in XY plane */
	public float scaleX, scaleY;

	/** Constructor. X and Y axis are scaled separately. */
	public ScaleModifier(float scaleX, float scaleY) {
		this.scaleX = scaleX;
		this.scaleY = scaleY;
	}

	/** Another constructor. X and Y axis are scaled uniformly. */
	public ScaleModifier(float scale) {
		this.scaleX = this.scaleY = scale;
	}
}
